<?php
if (!defined("HDPHP_PATH"))exit('No direct script access allowed');
//更多配置请查看hdphp/Config/config.php
$config = array(
	'AUTO_LOAD_FILE'                => array('functions.php'),     //自动加载应用Lib目录或应用组Common/
	/********************************URL设置********************************/
    'URL_REWRITE'                   => true,       //url重写模式
    'PATHINFO_HTML'                 => '.html/chenleib5@126',          //伪静态扩展名
    'route' => array(
        '/^index$/'=>'Index/Index/index',
        '/^toplist$/'=>'Index/Category/top_list',
        '/^sublist_(\d+)$/'=>'Index/Category/sub_list/nid/#1',
        '/^sublist_(\d+)$/'=>'Index/Category/sub_list/cid/#1',
        '/^gid_(\d+)$/'=>'Index/Details/index/gid/#1'
    ),                             //路由规则
);

return array_merge($config,include COMMON_CONFIG_PATH.'database.php');
?>